package com.rc.saas.mini.hlhtcec2.service;

import com.rc.saas.mini.common.base.TResponse;
import com.rc.saas.mini.model.elec.ElecGun;
import com.rc.saas.mini.model.elec.ElecStation;
import com.rc.saas.mini.model.member.MemberInfo;
import com.rc.saas.mini.vo.charge.CommandStartReq;
import com.rc.saas.mini.vo.charge.CommandStopReq;

/**
 * 平台作为运营方（包括瑞晨在内的SAAS运营商）的充电服务接口
 */
public interface HlhtChargeService {
    /**
     * 请求启动充电
     */
    TResponse assembleStartChargeResult(CommandStartReq commandStartReq, MemberInfo memberInfo, String hlhtOperatorId,
                                        ElecStation elecStation, ElecGun elecGun, Integer limitSoc, String accountType, String ticketUsingType, String carNum);

    /**
     * 查询充电状态,充电过程中调用
     */
    TResponse assembleEquipChargeStatusResult(CommandStartReq commandStartReq);

    /**
     * 请求停止充电
     */
    TResponse assembleStopChargeResult(CommandStopReq commandStopReq);

    /**
     * 读取充电中枪soc
     */
    String getCurrDataSoc(ElecGun gun, String tenantCode, String hlhtOperatorId);
}
